<template>
    <div>
        <van-button type="primary" icon="cart-o" icon-position="right" :loading="true" loading-text="正在加载">主要按钮</van-button>
        <myicon name="cart-o" color="#1989fa" size="40" />
    </div>
</template>

<script setup>
//重命名 如果不写as  应该使用Button标签  Icon标签
import { Button as vanButton, Icon as myicon, showToast, showLoadingToast   } from 'vant'
import { onMounted } from 'vue'
onMounted(() => {
    // showToast('提示内容内容');
    
})
</script>